package com.leemz.spring.converter;

import java.io.Serializable;
import java.util.Date;

/**
 * 测试实体类，其中有一个Date类型的属性，通过spring注入，
 * 来测试spring自定义转换器的使用
 * @author leemz
 */
public class Person implements Serializable {
    private Integer id;
    private Date birthday;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
